/*
 * // Bristleback plugin - Copyright (c) 2010 bristleback.googlecode.com
 * // ---------------------------------------------------------------------------
 * // This program is free software; you can redistribute it and/or modify it
 * // under the terms of the GNU Lesser General Public License as published by the
 * // Free Software Foundation; either version 3 of the License, or (at your
 * // option) any later version.
 * // This library is distributed in the hope that it will be useful,
 * // but without any warranty; without even the implied warranty of merchantability
 * // or fitness for a particular purpose.
 * // You should have received a copy of the GNU Lesser General Public License along
 * // with this program; if not, see <http://www.gnu.org/licenses/lgpl.html>.
 * // ---------------------------------------------------------------------------
 */

package pl.bristleback.server.bristle.mocks.actions;

import org.apache.log4j.Logger;

import java.util.List;
import java.util.Map;

/**
 * Mock POJO class.
 * <p/>
 * Created on: 2011-02-24 13:46:12 <br/>
 *
 * @author Wojciech Niemiec
 */
public class MockBean {
  private static Logger log = Logger.getLogger(MockBean.class.getName());

  public static final String PROPERTY_1 = "property1";
  public static final String PROPERTY_2 = "property2";
  public static final String LIST_1 = "list1";
  public static final String MAP_1 = "map1";
  public static final String ARRAY_1 = "array1";
  public static final String ARRAY_2 = "array2";
  public static final String NESTED_BEAN = "nestedBean";


  private String property1;
  private double property2;

  private MockBean nestedBean;
  private List<Integer> list1;
  private Map<String, MockBean> map1;
  private MockBean[] array1;
  private int[] array2;
  private Map map2;

  public String getProperty1() {
    return property1;
  }

  public void setProperty1(String property1) {
    this.property1 = property1;
  }

  public double getProperty2() {
    return property2;
  }

  public void setProperty2(double property2) {
    this.property2 = property2;
  }

  public List<Integer> getList1() {
    return list1;
  }

  public void setList1(List<Integer> list1) {
    this.list1 = list1;
  }

  public Map<String, MockBean> getMap1() {
    return map1;
  }

  public void setMap1(Map<String, MockBean> map1) {
    this.map1 = map1;
  }

  public Map getMap2() {
    return map2;
  }

  public void setMap2(Map map2) {
    this.map2 = map2;
  }

  public MockBean[] getArray1() {
    return array1;
  }

  public void setArray1(MockBean[] array1) {
    this.array1 = array1;
  }

  public int[] getArray2() {
    return array2;
  }

  public void setArray2(int[] array2) {
    this.array2 = array2;
  }

  public MockBean getNestedBean() {
    return nestedBean;
  }

  public void setNestedBean(MockBean nestedBean) {
    this.nestedBean = nestedBean;
  }
}
